package UHFTest;

import UHF18.UHFReader;
import sun.misc.HexDumpEncoder;

public class Main {

    public static void main(String[] argv) throws Exception{
       UHFService uhfService = new UHFService();
       uhfService.openUHFReader();
       uhfService.setPower(5);//不用那么大的功率即可
       //打开串口
       uhfService.start();
//        String EPC = "E280689400004024A8B48554";
//        uhfService.readData(EPC);

//        byte[] bb = UHFUtil.stringToByte("202306090570");
//        uhfService.writeEPC("202306090570");


//       Thread.sleep(3000);
//
//       uhfService.closeUHFReader();
    }
}
